/**
 * 
 */
package me.magicall.test.annotation;

import java.lang.annotation.Inherited;

/**
 * @author MaGiCalL
 * @email wenjian.liang@opi-corp.com
 * @version Jun 20, 2011 12:30:09 PM
 */
public class Sub extends Super {

	public static void main(final String[] argss) {
		System.out.println("@@@@@@" + MyAnnotation.class.isAnnotationPresent(Inherited.class));
		System.out.println("@@@@@@" + Super.class.isAnnotationPresent(MyAnnotation.class));
		System.out.println("@@@@@@" + Sub.class.isAnnotationPresent(MyAnnotation.class));
		System.out.println("@@@@@@" + Sub.class.getPackage().isAnnotationPresent(MyAnnotation.class));
	}
}
